body {
	background-color: #ccc;
	margin: 0 auto;
	max-width: 900px;
	border: solid #fff;
}

header {
	background-color: #f47d31;
	display: block;
	color: #fff;
	text-align: center;
}

header h2 {
	margin: 0;
}

h1 {
	font-size: 72px;
	margin:0;
}

h2 {
	font-size:24px;
	margin:0;
	text-align: center;
	color: #f47d31;
}

h3 {
	font-size: 18px;
	margin: 0;
	text-align: center;
	color:#f47d31;
}

h4 {
	color: #f47d31;
	background-color: #fff;
	/* 下面两行将标题做出斜边与阴影特效 */
	box-shadow: 2px 2px 20px #888;
	transform: rotate(-45deg);

	position: absolute;
	padding: 0 150px;
	top:50px;
	left:-120px;
	text-align: center;
}

nav {
	display: block;
	width:25%;
	float: left;
}

nav a:link, nav a:visited {
	display: block;
	border-bottom: 3px solid #fff;
	padding:10px;
	text-decoration: none;	/* 去掉下划线 */
	font-weight: bold;
	margin: 5px;
}

nav a:hover {
	color: #fff;
	background-color: #f47d31;
}

nav h3 {
	margin: 15px;
	color: #fff;
}

#container {
	background-color: #888;
}

section {
	display: block;
	width: 50%;
	float: left;
}

article {
	background-color: #eee;
	display: block;
	margin:10px;
	padding:10px;
	border-radius: 10px;	/* 圆角特效 */
	box-shadow: 2px 2px 20px #888;	/* 阴影 */
	transform: rotate(-10deg);	/* 倾斜 */
}

article header {
	padding: 5px;
	border-radius: 10px;
}

article footer {
	border-radius: 10px;
	padding: 5px;
}

article h1 {
	font-size: 24px;
}

aside {
	display: block;
	width: 25%;
	float: left;
}

aside h3 {
	margin: 15px;
	color: #fff;
}

aside p {
	margin: 15px;
	color: #fff;
	font-weight: bold;
	font-style: italic;
}

footer {
	clear: both;
	display: block;
	background-color: #f47d31;
	color: #fff;
	text-align: center;
	padding: 25px;
}

footer h2 {
	font-size: 14px;
	color: #fff;
}

/* links */
a {
	color: #f47d31;

}
a:hover {
	text-decoration: underline;
}